Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 9029 #224

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Issue 9029 #224

merged 3 commits into from
Nov 4, 2024

Conversation

alimirjamali
Copy link

Allow users to set special `skip-update` feature for idividual qubes to
suppress Qubes Update systray widget notifications on them.

fixes: QubesOS/qubes-issues#9029
@alimirjamali alimirjamali marked this pull request as draft October 13, 2024 23:23
@alimirjamali alimirjamali force-pushed the issue-9029 branch 2 times, most recently from a020e83 to bcc6bc8 Compare October 14, 2024 14:32
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

Attention: Patch coverage is 68.75000% with 15 lines in your changes missing coverage. Please review.

Project coverage is 93.61%. Comparing base (bab3289) to head (986fc5d).

Files with missing lines Patch % Lines
qui/utils.py 27.27% 8 Missing ⚠️
qui/updater/intro_page.py 46.15% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
- Coverage   93.72%   93.61%   -0.12%     
==========================================
  Files          57       57              
  Lines       10845    10892      +47     
==========================================
+ Hits        10165    10197      +32     
- Misses        680      695      +15     
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alimirjamali alimirjamali marked this pull request as ready for review October 14, 2024 15:25
qui/utils.py Show resolved Hide resolved
qui/updater/updater.py Outdated Show resolved Hide resolved
qui/utils.py Show resolved Hide resolved
For `check_support` and `check_update`, it is more convenient to catch
exceptions within the helper functions once.
@marmarek marmarek merged commit 85b247c into QubesOS:main Nov 4, 2024
2 checks passed

def domain_added(self, _submitter, _event, vm, *_args, **_kwargs):
def domain_added(self, _submitter, _event, vmname, *_args, **_kwargs):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, "vm" is used as keyword argument, so you can't change its name. I'll fix it.

I should have put that through openQA earlier...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ops. Sorry for mistake. I wonder why it did not show up during the unit tests. I guess there is no unit test for installing an outdated or obsolete template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to hide (a) qube(s) from updates
3 participants